const express = require('express')

const app = express()
const port = 8000

app.get('/', (req, res) => {
    console.log(req.query);
    const { cname, skinname } = req.query
    res.send({ code: 200, data: req.query })
})

app.listen(port, () => {
    console.log(`Example app listening at http://localhost:${port}`);
})